package com.wn.ziroombackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangzhijia
 * @since 2023-02-27 10:56:29
 */
@Getter
@Setter
@TableName("t_owner")
public class Owner {

    /**
     * 业主ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 业主姓名
     */
    @TableField("owner_name")
    private String ownerName;

    /**
     * 房屋地址
     */
    @TableField("address_id")
    private Integer addressId;

    /**
     * 手机号
     */
    @TableField("phone")
    private String phone;

    /**
     * 身份证
     */
    @TableField("identity")
    private String identity;

    /**
     * 银行卡号
     */
    @TableField("bank_num")
    private String bankNum;

    /**
     * 签约时间
     */
    @TableField("signing_time")
    private Date signingTime;

    /**
     * 到期时间
     */
    @TableField("expiration_time")
    private Date expirationTime;


}
